add_executable(const const.cpp)

set(CMAKE_CXX_STANDARD 14)

# for g++, disable RVO
# set(CMAKE_CXX_FLAGS "-fno-elide-constructors")

add_executable(rvalue rvalue.cpp)

add_executable(arrayptrANDfuncptr arrayptrANDfuncptr.cpp)

add_executable(Chapter1.Item1 Item1.cpp)

add_executable(Chapter1.Item7 Item7.cpp)

add_executable(Chapter1.Item2 Item2.cpp)

add_executable(Chapter1.Item9 Item9.cpp)

add_executable(Chapter1.Item23 Item23.cpp)

add_executable(Chapter1.Item3 Item3.cpp)

add_executable(objectLayout objectLayout.cpp)

add_executable(polymorphicAndRTTI polymorphicAndRTTI.cpp)

add_executable(Cast Cast.cpp)